{extend name="admin@public/main"}

{block name="style"}
<link href="__STATIC__/admin/loaders.css" rel="stylesheet">
<link href="__STATIC__/admin/style.css" rel="stylesheet">
{/block}

{block name="body"}
<div class="login">
<div class="loginform">
    <div class="logo"><img src="{:sysconf('browser_icon')}"/></div>
    <div class="company">{:sysconf('app_name')}</div>
    <form onsubmit="return false;" data-time="0.001" data-auto="true" method="post" class="form content layui-form animated fadeInDown">
        <label class="user"><input required pattern="^\S{4,}$" name="username" value="" type="text" autofocus="autofocus" autocomplete="off" title="请输入4位及以上的字符" placeholder="请输入用户名"></label>
        <label class="pwd"><input required pattern="^\S{4,}$" name="password" value="" type="password" autocomplete="off" title="请输入4位及以上的字符" placeholder="请输入密码"></label>
        <div class="code"><label class="piccode"><input name="verifyCode" type="text" placeholder="请输入图形验证码"/></label><div class="codepic">{:captcha_img()}</div></div>
        <input type="submit" class="loginbtn" value="登录">
    </form>
</div>
<div class="copyright">Copyright © 2018 ToGyTech. All Rights Reserved. 湖南绿苑节能科技 版权所有</div>

<!--认证中-->
<div class="authent">
    <div class="loader">
        <div class="loader-inner ball-clip-rotate-multiple">
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
    <p>认证中...</p>
</div>
<!--认证中-->
</div>
{/block}

{block name="script"}
<script>
    if (window.location.href.indexOf('#') > -1) {
        window.location.href = window.location.href.split('#')[0];
    }
</script>
{/block}